<template>
<view class="searchView">
	<!-- 点击跳转到搜索页面 -->
	<view class="input_search" @click="toSearch">搜索</view>
</view>
</template>

<script>
	export default {
		methods:{
			 toSearch(){
				  uni.navigateTo({
				  	url:"/pages/search/index"
				  })
			},
		}
	}
</script>

<style lang="less">
	.searchView{
	  width: 750rpx;
	  height: 100rpx;
	  background-color: #7d00ff;
	  padding: 10rpx,24rpx;
	}
	.input_search{
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  width: 700rpx;
	  height: 80rpx;
	  margin: 0 auto;
	  background-color: #fff;
	  color: #767676;
	  font-size: 26rpx;
	}
</style>
